/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Panels;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JPanel;

/**
 *
 * @author luc0
 */
public class GlassPanel extends JPanel {

    int blockType;
    int width, height;
    public GlassPanel(int width, int height) {
        super();
        setLayout(null);
        this.width = width;
        this.height = height;
    }

    @Override
    public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Color ppColor = new Color(131,139,131, 70); //r,g,b,alpha 	131-139-131
        g.setColor(ppColor);
        g.fillRect(0, 0, width, height); //x,y,width,height
    }
}
